var n = getApp();

Page({
    data: {
        language: "",
        obj: {}
    },
    onLoad: function(n) {
        this._getData();
    },
    onReady: function() {
        var n = wx.getStorageSync("langIndex");
        this.setData({
            language: n.en
        });
    },
    onShow: function() {},
    onHide: function() {},
    onUnload: function() {},
    onPullDownRefresh: function() {},
    onReachBottom: function() {},
    onShareAppMessage: function() {},
    _getData: function() {
        var t = this, o = n.getNetAddresss("income.share-page.index");
        n._getNetWork({
            url: o,
            success: function(n) {
                var o = n.data;
                1 == o.result ? t.setData({
                    obj: o.data
                }) : wx.showToast({
                    icon: "none",
                    title: o.msg,
                    duration: 1500
                });
            },
            fail: function(n) {
                console.log(n.msg);
            }
        });
    }
});